//
//  XNTimerButton.h
//  xndm_proj
//
//  Created by xn on 2021/5/10.
//  Copyright © 2021 Linfeng Song. All rights reserved.
//

#import "LGButton.h"
#import "XNTimerUIHelper.h"

NS_ASSUME_NONNULL_BEGIN

@interface XNTimerButton : LGButton

@property (nonatomic, copy) TimerLabelProgressBlock progressBlock;
@property (nonatomic, assign) NSInteger duration; // default  =1

- (void)startWithSeconds:(NSInteger)seconds;
- (void)cancelTimer;

@end

NS_ASSUME_NONNULL_END
